Hi PHSNA users,

I've update revision 1r9 with some more incremental changes.  Here's a run-down:

Incorporated the flag that will tell the Arduino whether it should be in AD9850 mode, or AD9851 mode.  Fixed the bug I had in the "beta" version, which I guess was 1r8.

I made a change to the "generator" mode which allows you to choose to have the software continuously update the dBm reading while the frequency remains constant.  This can be useful if you are adjusting an antenna tuner or other network for maximum (or minimum) reading.  You can exit that mode by pressing any key and will find yourself back in the Generator mode with normal key functions for moving frequency working.  The update make work differently on different terminals.  My intent is for it to stay on the same line, but return to the line start for each print.  In the Arduino IDE's serial monitor, it behaves strangely.  Programmers may want to add a linefeed if they encounter this.

I made a change to the SNA function so you now have the option of including "raw" dBm readings in addition to the frequency compensated / normalized ones.  This allows you to see the actual output of your DDS.   BTW, when I distribute the source code I remove my compensation coefficients, so you won't see a difference between "raw" and "cooked" unless you install them.

I broke the source file down into multiple smaller files.  It was getting hard to find my way around.  As a result, I posted this file as a zip file of the directory and all files within it.  This method also allows adding some documentation files.  I wrote up one on how to compile the program and send it to your Arduino.  The Arduino IDE is quite flexible on multiple files.  You can still just double-click on the main file and it includes all other .ino files in the same directory automatically.

Currently the main file "SimpleSNA_WA5BDU_1r9_rev2r62.ino just contains the global variable declarations, #define statements, eeprom register definitions, revision notes, and the startup() and loop() functions.

Zips can sometimes be a pain to process.  I like 7-Zip. With it I can right click a zip file, tell it to open the arcihve, and drag the folder or files from the archive window to wherever I want them.  Uncompressing occurs automatically in that process.

73-

Nick, WA5BDU